home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11727 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  919 b 

  1. Path: asterix.urc.tue.nl!rchansl
  2. From: rchansl@urc.tue.nl (Hans Linders)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Beginer C please help me
  5. Date: 26 Mar 96 11:26:42 GMT
  6. Organization: Eindhoven University of Technology, The Netherlands
  7. Message-ID: <rchansl.827839602@asterix.urc.tue.nl>
  8. References: <4irjqa$jtn@winx03.informatik.uni-wuerzburg.de> <827821769.0snx@n16872.pc.jaring.my>
  9. NNTP-Posting-Host: asterix.urc.tue.nl
  10. X-Newsreader: NN version 6.5.0 #10 (NOV)
  11.  
  12. ckyin@n16872.pc.jaring.my (Yin Chee Kin) writes:
  13.  
  14. >  I agree with you completely. What a complete nonsense!  
  15. >  
  16. >  In order a get correct answer, should try this:
  17.  
  18. >     n = 9.0/5  or n = 9/5.0 or  n = 9/5*1.0 
  19.                                   ^^^^^^^^^^^
  20.  
  21. Definitely not this last one.
  22. Remember that associativity is from left to right. It will give
  23. you (9/5)*1.0 = 1*1.0 = 1.0.
  24.  
  25.  
  26. Hans Linders
  27. Rekencentrum
  28. Technische Universiteit Eindhoven
  29. The Netherlands
  30.